#define _CRT_SECURE_NO_WARNINGS 1
#define _CRT_SECURE_NO_WARNINGS 1
#include"RBTree.h"
void test1()
{
	int arr[] = { 25880,21592,7850,877,9769,13914,6732,30679,11842,7242,25349,20041 };
	RBTree<int, int> r1;
	for (auto e : arr)
	{
		r1.Insert(make_pair(e, e));
		cout << r1.IsRBTree() << endl;
	}

}
void test2()
{
	RBTree<int, int> r1;
	srand(time(0));
	vector<int> v;
	v.reserve(100000);
	for (int i = 0; i < 100000; i++)
	{
		v.push_back(rand());
	}
	for (auto e : v)
	{
		r1.Insert(make_pair(e, e));

	}
	cout << "->" << r1.IsRBTree() << endl;

}
int main()
{
	test1();
	return 0;
}